package com.zui.manager;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.zui.entity.trade.Trade;
import com.zui.security.User;
import com.zui.util.Page;


@Transactional
public interface TradeManager extends EntityManager<Trade, String>{

	public Trade postAd(Trade trade, User user);

	public List<Trade> listTrades(Trade trade, Page page);

}
